package com.ext.aic.enums;

public enum EditType {
    creation,
    editing,
    referenceCreation;

    public static EditType getEditType(String type) {
        switch (type) {
            case "creation":
                return creation;
            case "editing":
                return editing;
            case "referenceCreation":
                return referenceCreation;
        }
        return creation;
    }
}
